package com.ningju.procurement.core.questionnaire.dao;

import com.ningju.procurement.common.dao.BaseDao;
import com.ningju.procurement.common.mybatis.pager.PageParam;
import com.ningju.procurement.core.questionnaire.bean.Answer;
import com.ningju.procurement.core.questionnaire.bean.Project;
import com.ningju.procurement.core.questionnaire.bean.Topic;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TopicDao extends BaseDao<Topic> {

    List<Topic> selectUnBindDimensionTopicList();

    List<Topic> selectTopicListByProject(@Param("project") Project project, @Param("page") PageParam page);

}